![]() |
![]() Tips and status bar![]() Try to move your mouse pointer over the menu items (particularly, items of sublevels), and you will see that status bar text changes, and also standard tip appears after a short moment. This was done using "status" and "alt" fields. There are two ways to assign a status text/alt. First one is direct string assignment: {code:'My item', alt:'This is an alternative text.', status:'This is a status line.'},
Also, you can specify "code" or "url" as a value for "alt"/"status" in the level's format, and this will show item's code or url in the status line or as a tip: sub:[
{alt:'code', status:'url'}, {code:'Item 1', url:'file1.html'}, {code:'Item 2', url:'file2.html'}, {code:'Item 3', url:'file3.html'} ] Please, note, that "alt" and "status" are completely separate fields: you can define both of them, don't have to. |
![]() |
|||
![]() |
|
![]() |